<template>
  <div class="msg_content_item flex-x">
    <img
      :src="imgUrl"
      style="width: 12px; height: 12px; margin-right: 6px"
      alt=""
    />
    <div>
      {{ title }}: <span style="margin-left: 4px"> {{ content }}</span>
    </div>
  </div>
</template>

<script>
export default {
  computed: {},
  props: {
    imgUrl: {
      type: String,
      default: ""
    },
    content: {
      type: String,
      default: ""
    },
    title: {
      type: String,
      default: ""
    }
  }
};
</script>

<style lang="scss" scoped>
.msg_content_item {
  width: 100%;
  height: 26px;
  background: linear-gradient(90deg, rgba(4, 14, 83, 0), #1a267c);
  border-radius: 3px;
  // margin-bottom: 10px;
  font-size: 14px;
  padding-left: 20px;

  div {
    margin-right: 2px;
  }
}
</style>
